﻿Imports System.Data.OleDb
Imports System.Net.Mail

Public Class About
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


    End Sub

    Protected Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSave.Click
        Try

            GeneralMethods.SendMail(txtFromEmailId.Text.ToString(), txtSubject.Text.ToString(), txtBody.Text.ToString())
            Response.Redirect("~/Success.aspx", False)
        Catch ex As Exception
            MsgBox(ex.ToString)
        End Try
    End Sub

End Class